package com.general.template.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: 杰哥
 * Date: 2021/2/19 13:05
 * @Description:
**/

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "power_excel")
public class PowerExcel implements Serializable {
    /**
     * 主键唯一id
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 文件名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 文件路径
     */
    @TableField(value = "url")
    private String url;

    /**
     * 文件类型
     */
    @TableField(value = "type")
    private String type;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_NAME = "name";

    public static final String COL_URL = "url";

    public static final String COL_TYPE = "type";
}